
 <div id='breadcrumb'>
    <a href='/store' title='首页'>首页</a>>
    <a href='/articles' title='最新消息'>最新消息</a>
  </div>

  <ul>
    <%= render :partial =>'/articles/index_news',
      :collection=>@articles %>
  </ul>
  <% if admin? %>
    <%= link_to 'New article', new_article_path %>
  <%  end %>

  <%= will_paginate @articles,:prev_label => '«上一页',:next_label => '下一页»' %>


<%# for article in @articles %>

<%#=h article.article_type %>
<%#=h article.title %>
<%#=h article.content %>
<%#=h article.image_url %>
<%#=h article.sort_order %>
<%#=h article.top %>
<%#=h article.active %>
<%#= link_to 'Show', article %>
<%#= link_to 'Edit', edit_article_path(article) %>
<%#= link_to 'Destroy', article, :confirm => 'Are you sure?', :method => :delete %>

<%# end %>


